package com.base.pd.agent;

public class AgentTFT_Batt extends Agent {
	
	private boolean nextMove = true;

	public AgentTFT_Batt() {
		super("Tit-for-Tat", "Batt");
	}

	@Override
	public boolean cooperate() {
		return nextMove;
	}

	@Override
	public void update(int round, boolean myMove, boolean otherMove,
			int myScore, int otherScore) {
		this.nextMove = otherMove;
	}

	@Override
	public void init() {
		nextMove=true;
	}

}
